package com.woniu.supermarket.service;

import com.github.pagehelper.PageInfo;
import com.woniu.supermarket.entity.Promotion;
import com.woniu.supermarket.vo.PromotionVo;

public interface IPromotionService {

    PageInfo<PromotionVo> queryByPage(Integer now, Integer size, String code, int status);

    int add(Promotion promotion);

    void remove(int id);

    void modify(Promotion promotion);

    Promotion queryById(Integer promotionId);
}
